while (true) {
    press(device.width / 2, device.height / 2, 50)
}
threads.start(function() {
    while (true) {
        press(device.width / 2, device.height / 2, 50)
    }
})
